﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jwell.Template.App.Utl
{
    public static class RelativeHelper
    {
        public static string RelativePath(string absolutionDestionPath, string absolutOrginPath)
        {
            var uriDesction=new Uri(absolutionDestionPath);
            var uriOrgin=new Uri(absolutOrginPath);
            return uriOrgin.MakeRelativeUri(uriDesction).ToString();
        }
    }
}
